Kokubunji (国分寺町; -machi) was a town located in Shimotsuga District, Tochigi, Japan.
On January 10, 2006 Kokubunji was merged with the town of Minamikawachi, from Kawachi District, and the town of Ishibashi, also from Shimotsuga District, to form the new city of Shimotsuke.
As of 2003, the town had an estimated population of 17,373 and a density of 835.24 persons per km². The total area was 20.80 km².